package com.example.base.demo.condition;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

/**
 * @author TangDan
 * @version 1.0
 * @since 2023/3/14
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional({MyCondition.class})
public @interface ConditionalOnMyProperty {
}
